c#: what is the purpose of wpf vs. winforms [closed]
Posted
by every_answer_gets_a_point
on Stack Overflow
See other posts from Stack Overflow
or by every_answer_gets_a_point
Published on 2010-04-12T18:15:39Z
Indexed on
2010/04/12
18:23 UTC
Read the original article
Hit count: 336
i know wpf can be richer-looking, but what is the point of using them if they complicate things so much?
for example if i want to do something on form load in wpf i have to through the trouble of writing this:
public MyWindow()
{
Loaded += MyWindow_Loaded;
}
private void MyWindow_Loaded(object sender, RoutedEventArgs e)
{
// do work here
}
whereas in winforms all i do is double click on the form
the question is what are the benefits of using wpf over winforms?
© Stack Overflow or respective owner